    <p>
    <label for="community_title">名称</label><br/>
    <%= text_field("community", "title", "size" => 50)%>
    <%= observe_field :community_title,
        :frequency => 1,
        :update    => 'ajaxWrapper',
        :before    => "Element.show('spinner'), Element.hide('ajaxWrapper')",
        :complete  => "Element.hide('spinner'), Element.show('ajaxWrapper')",
        :url       => {:controller => 'communities', :action=>'ajaxsearch'},
        :with      => "'search=' + encodeURIComponent(value)" %>
    </p>
    <p><label for="community_title">介绍</label><br/>
    <%= text_area("community", "description", "cols" => 50, "rows" => 10)%>
    </p>
    <p><label for="community_city">城区</label><br/>
    
    <table width="70%" border="0">
    <tr>
    <td>
    <%= select_tag( 'community[district_id]', options_for_select(@districts)) %>
    </td>
    </tr>
    </table>
    </p>